﻿/*-------------------------------------------------------------------------
* 命名空间: MyToDo.Models/MenuBar
* 类       名: MenuBar
* 功      能:  TD
* 时      间:  2023/12/13 17:25:35
* 版      本:  V1.0
* 作      者:  Fioman
* 格      言:  Talk is cheap,show me the code ^_^
*-------------------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyToDo.Models
{
    /// <summary>
    /// 左侧抽屉式导航栏的实体类,左侧的导航栏包括三个部分,第一个是图标,
    /// 第二个是导航名称,第三个是导航对应的View的名称
    /// </summary>
    public class MenuBar
    {
        /// <summary>
        /// 导航用的图标名称
        /// </summary>
        private string? icon;

        public string? Icon
        {
            get { return icon; }
            set { icon = value; }
        }

        /// <summary>
        /// 导航标题
        /// </summary>
        private string? title;

        public string? Title
        {
            get { return title; }
            set { title = value; }
        }

        /// <summary>
        /// 对应的视图View的名称,从来切换具体的页面
        /// </summary>
        private string? viewName;

        public string? ViewName
        {
            get { return viewName; }
            set { viewName = value; }
        }


    }
}
